package lesson3.example8;

import java.io.Serializable;
import java.util.Random;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController implements Serializable {
	private static final long serialVersionUID = 1L;

	@RequestMapping("/list")
    public String list(){
		Random r = new Random(1);
		int x = r.nextInt(100);
        return  x+"" ;
    }
}
